package com.qys.livesMall.shop.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.qys.livesMall.shop.modal.dto.shop.income.EditHierarchyIncomeConfig;
import com.qys.livesMall.shop.modal.entity.H2ShopHierarchyIncomeConfig;
import com.qys.livesMall.shop.modal.vo.H2ShopHierarchyIncomeConfigVO;
import com.qys.livesMall.system.model.dto.sys.H2SysShareConfigDTO;
import com.qys.livesMall.system.model.entity.H2SysShareConfig;
import com.qys.livesMall.system.model.vo.sys.H2SysShareConfigVO;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: dp
 * Date: 2023/06/06
 * Time: 11:19
 * DESCRIPTION:
 */
public interface H2ShopHierarchyIncomeConfigService extends IService<H2ShopHierarchyIncomeConfig> {

    /**
     * 查询层级分成比例设置
     *
     * @param
     */
    List<H2ShopHierarchyIncomeConfigVO> listAll();

    /**
     * 新增层级配置信息
     *
     * @param config {@link  H2SysShareConfigDTO}
     */
    void save(EditHierarchyIncomeConfig config);
}
